Video encoding and decoding method and apparatus using the same

ABSTRACT

The present invention is related to a method for moving the position of a base view from an arbitrary GOP (Group Of Pictures) start position to implement an efficient encoding structure in multi-view video encoding. The existing multi-view video encoding method exhibits low encoding efficiency when correlation between the base view and a dependent view is low, since the base view is assumed to be fixed. Moreover, in case the view in a live broadcasting program desired by a producer changes from the base view to another, the user has to consume more bit streams and decoder complexity than those consumed when decoding is performed with respect to the base view. Therefore, to alleviate the drawbacks of the existing multi-view video encoding method, the present invention provides a method for designing syntax elements by which the base view can be moved, thereby supporting an efficient encoding structure.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of U.S. application Ser. No.15/483,124, filed on Apr. 10, 2017, which is a Continuation of U.S.application Ser. No. 14/141,685, filed on Dec. 27, 2013, now U.S. Pat.No. 9,693,055, issued Jun. 27, 2017, which claims the benefit ofpriority of Korean Patent Application No. 10-2012-0156373 filed on Dec.28, 2012 and Korean Patent Application No. 10-2013-0165800 filed on Dec.27, 2013, all of which are incorporated by reference in their entiretyherein.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention is related to image encoding and decoding and moreparticularly, a method for changing a base view in multi-view videoencoding and apparatus using the method.

Discussion of the Related Art

As broadcasting services provided in HD resolution are spread globally,more people are getting used to high resolution, high quality images,and many organizations are accelerating development of next-generationimage devices. In addition to HDTVs, public attention to UHD (Ultra HighDefinition) TVs, which provide videos in a resolution more than fourtimes the resolution of HDTV, is increasing; thus, demand for atechnology capable of compressing images of higher resolution and higherquality is getting larger.

To implement image compression, various technologies can be employed,including: inter-prediction technology estimating pixel values in acurrent picture by using the pictures located temporally before and/orafter the current picture, intra-prediction technology estimating pixelvalues of a current picture by using pixel information of the currentpicture, and entropy coding technology assigning short code words tofrequently appearing symbols but longer code words to those symbolsappearing in low frequency.

There are various kinds of image compression technologies, one of whichprovides constant network bandwidth in an operating environmentconstrained by limited hardware resources, not taking account of dynamicnetwork environments. In order to deal with compression of image data ina network environment where bandwidth changes constantly, however, a newcompression technology is highly required, and in this regard, ascalable video encoding/decoding method is an attractive solution.

SUMMARY OF THE INVENTION

The present invention provides a method for moving the position of abase view from an arbitrary GOP (Group Of Pictures) start position toimplement an efficient encoding structure in multi-view video encodingand an apparatus using the method.

The existing multi-view video encoding method exhibits low encodingefficiency when correlation between the base view and a dependent viewis low, since the base view is assumed to be fixed. Moreover, in casethe view in a live broadcasting program desired by a producer changesfrom the base view to another, the user has to consume more bit streamsand decoder complexity than those consumed when decoding is performedwith respect to the base view. Therefore, to alleviate the drawbacks ofthe existing multi-view video encoding method, the present inventionprovides a method for designing syntax elements by which the base viewcan be moved and an apparatus using the method.

Accordingly, the present invention provides a method for supporting anefficient encoding structure and increasing encoding efficiency; and anapparatus using the method.

The present invention provides a method for the user to decode the viewintended by a producer in a more cost-effective way than existingmethods in case the view is moved in a live broadcasting programaccording to the producer's intention and an apparatus using the method.

According to one aspect of the present invention, a method formulti-view video decoding is provided. The method for multi-view videodecoding comprises deriving layer dependency from a plurality of layers;in case a base view is moved, reconfiguring layer IDs for identifyinglayers and a view order in accordance with movement of the base view;and based on reconfigured layer IDs, constructing a reference picturelist that a current picture references.

The layer dependency can be composed of at least one reference layer setincluding the number of reference layers which the current layerreferences and identifying information of the reference layer.

According to another aspect of the present invention, a method formulti-view video encoding is provided. The method for multi-view videoencoding comprises deriving layer dependency from a plurality of layers;in case a base view is moved, reconfiguring layer IDs for identifyinglayers and a view order in accordance with movement of the base view;and based on reconfigured layer IDs, constructing a reference picturelist that a current picture references.

The layer dependency can be composed of at least one reference layer setincluding the number of reference layers which the current layerreferences and identifying information of the reference layer.

According to a yet another aspect of the present invention, an apparatusfor multi-view video decoding is provided. The apparatus for multi-viewvideo decoding comprises deriving layer dependency from a plurality oflayers; in case a base view is moved, reconfiguring layer IDs foridentifying layers and a view order in accordance with movement of thebase view; and based on reconfigured layer IDs, constructing a referencepicture list that a current picture references.

The layer dependency can be composed of at least one reference layer setincluding the number of reference layers which the current layerreferences and identifying information of the reference layer.

According to one aspect of the present invention, an apparatus formulti-view video encoding is provided. The apparatus for multi-viewvideo encoding comprises deriving layer dependency from a plurality oflayers; in case a base view is moved, reconfiguring layer IDs foridentifying layers and a view order in accordance with movement of thebase view; and based on reconfigured layer IDs, constructing a referencepicture list that a current video references.

The layer dependency can be composed of at least one reference layer setincluding the number of reference layers which the current layerreferences and identifying information of the reference layer.

According to one embodiment of the present invention, a method formoving the position of a base view from an arbitrary GOP start positionto implement an efficient encoding structure in multi-view videoencoding and an apparatus using the method are provided.

The existing multi-view video encoding method exhibits low encodingefficiency when correlation between the base view and a dependent viewis low, since the base view is assumed to be fixed. Moreover, in casethe view in a live broadcasting program desired by a producer changesfrom the base view to another, the user has to consume more bit streamsand decoder complexity than those consumed when decoding is performedwith respect to the base view. Therefore, to alleviate the drawbacks ofthe existing multi-view video encoding method, one embodiment of thepresent invention provides a method for designing syntax elements bywhich the base view can be moved and an apparatus using the method.

Accordingly, the present invention provides an image encoding/decodingmethod for supporting an efficient encoding structure and an apparatususing the method.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a furtherunderstanding of the present invention and constitute a part ofspecifications of the present invention, illustrate embodiments of thepresent invention and together with the corresponding descriptions serveto explain the principles of the present invention.

FIG. 1 is a block diagram illustrating the structure of an apparatus forvideo encoding according to one embodiment of the present invention;

FIG. 2 is a block diagram illustrating the structure of an apparatus forvideo decoding according to one embodiment of the present invention;

FIG. 3 is a conceptual drawing illustrating one embodiment of amulti-view based video coding structure to which the present inventioncan be applied;

FIG. 4 illustrates the structure of a reference picture list formulti-view video;

FIG. 5 is a flow diagram illustrating a method for moving a base view inmulti-view video encoding according to the present invention;

FIG. 6 illustrates a scalable reference layer set according to thepresent invention; and

FIG. 7 illustrates a process of deriving a reference picture setaccording to the present invention.

DETAILED DESCRIPTION OF THE INVENTION

In what follows, embodiments of the present invention will be describedin detail with reference to appended drawings. In describing embodimentsof the present invention, if it is determined that detailed descriptionof a related structure or function known for those in the art obscuresthe technical principles of the present invention, the correspondingdescription will be omitted.

If a component is said to be “linked” or “connected” to a differentcomponent, the component may be directly linked or connected to thedifferent component, but a third component may exist to connect the twocomponents. On the other hand, if a particular structure is said to be“included” in this document, it is not meant to exclude a structureother than the corresponding structure; rather, inclusion of thecorresponding structure indicates that additional structures can beincluded in the embodiments or technical scope of the present invention.

Terms such as first and second can be used for describing variousstructures but the structures should not be limited by the terms. Theterms are introduced only for the purpose of distinguishing onestructure from the others. For example, a first structure may be calleda second structure without departing from the scope of the presentinvention and vice versa.

Also, constituting units introduced in the embodiments of the presentinvention are described separately from each other to emphasize thedistinctive functions thereof; it does not indicate that eachconstituting unit should be implemented by separate hardware or singlesoftware element. In other words, each constituting unit is described inits present form for the sake of convenience; at least two constitutingunits may comprise one constituting unit, or one constituting unit maybe divided into multiple constituting units to perform a function. BothIntegrated and separate embodiments of individual constituting unitsbelong to the technical scope of the present invention as long as theydo not depart from the technical principles of the present invention.

Also, part of constituting elements may not be mandatory elementscarrying out essential functions of the present invention, but may beintroduced as optional elements only to improve performance. The presentinvention can be realized by using only the mandatory elements needed toimplement the technical principles of the present invention withoutemploying the optional elements introduced only for performanceenhancement, and a structure comprising only mandatory elementsexcluding optional ones used only for improving performance also belongsto the technical scope of the present invention.

FIG. 1 is a block diagram illustrating the structure of an apparatus forvideo encoding according to one embodiment of the present invention. Amethod or apparatus for scalable video encoding/decoding can beimplemented by extension of a conventional method or apparatus for videoencoding/decoding not providing multi-view videos, and the block diagramof FIG. 1 illustrates one embodiment of an apparatus for video encodingwhich can be a base of an apparatus for multi-view video encoding.

With reference to FIG. 1, the apparatus for video encoding 100 comprisesa motion prediction module 111, motion compensation module 112,intra-prediction module 120, switch 115, subtractor 125, transformationmodule 130, quantization module 140, entropy encoding module 150,inverse quantization module 160, inverse transformation module 170,adder 175, filter 180, and reference picture buffer 190.

The apparatus for video encoding 100 can perform encoding of inputpictures in the intra or inter mode and produce bit streams.Intra-prediction denotes in-picture prediction, while inter-predictiondenotes inter-picture prediction. In the case of intra mode, the switch115 is switched to intra mode, while in the case of inter mode, theswitch 115 is switched to inter mode. The apparatus for video encoding100 generates prediction blocks for input blocks of an input picture andencodes residuals between input blocks and prediction blocks.

In the case of intra mode, the intra-prediction module 120 performsspatial prediction by using pixel values of already encoded/decodedblocks around a current block and generates prediction blocks.

In the case of inter mode, during a motion prediction process, themotion prediction module 111 searches reference pictures stored in thereference picture buffer 190 for a region that best matches the inputblock and obtains a motion vector. The motion compensation module 112can generate prediction blocks by carrying out motion compensation byusing the motion vector and reference picture stored in the referencepicture buffer 190.

The subtractor 125 can generate residual blocks from residuals betweeninput blocks and generated prediction blocks. The transformation module130 transforms residual blocks and produces transform coefficients. Andthe quantization module 140 quantizes input transform coefficientsaccording to quantization parameters and produces quantizedcoefficients.

The entropy encoding module 150 performs entropy encoding on symbolsaccording to a probability distribution based on the values calculatedfrom the quantization module 140 or encoding parameters calculated froman encoding process and produces bit streams. An entropy encoding methodreceives symbols taking various values and removes statisticalredundancy, representing the symbols as a decodable binary number.

Here, a symbol denotes a syntax element to be encoded or decoded, codingparameter, residual signal, and so on. A coding parameter is a parameterrequired for encoding and decoding; and includes not only theinformation encoded in an encoding apparatus and transmitted to adecoding apparatus, such as the syntax element but also the informationinferred during an encoding or decoding process. The coding parameterdenotes the information required for encoding or decoding pictures. Thecoding parameter, for example, can include inter or inter predictionmode, movement or motion vector, reference picture index, coding blockpattern, existence of residual signals, transform coefficients,quantized transform coefficients, quantized parameters, block size, andblock segmentation information; or statistical equivalents thereof.Also, a residual signal may denote a difference between the originalsignal and prediction signal, a signal representing transformation of adifference between the original signal and prediction signal, or asignal representing transformation and quantization of a differencebetween the original signal and prediction signal. The residual signalmay be called a residual block if interpreted in units of blocks.

In case entropy encoding is applied, a small number of bits areallocated to a symbol with a high probability of occurrence while alarge number of bits are allocated to a symbol with a low probability ofoccurrence; thus, the size of bit streams for target symbols to beencoded can be reduced. Therefore, compression performance of videoencoding can be improved through entropy encoding.

Encoding methods such as Exponential-Golomb, CAVLC (Context-AdaptiveVariable Length Coding), and CABAC (Context-Adaptive Binary ArithmeticCoding) can be used for entropy encoding. For example, the entropyencoding module 150 can store a table used for carrying out entropyencoding, such as a variable length coding/code (VLC) table and performentropy encoding by using the stored VLC table. Also, after deriving abinarization method for target symbols and a probability model of thetarget symbols or bins, the entropy encoding module 150 can performentropy encoding by using the derived binarization method or probabilitymodel.

The quantized coefficients are inversely quantized by the inversequantization module 160 and inversely transformed by the inversetransformation module 170. The inversely quantized, inverselytransformed coefficients are added to prediction blocks through theadder 175, and reconstructed blocks are generated.

The reconstructed block passes through the filter 180, and the filter180 can apply at least one or more of deblocking filter, SAO (SampleAdaptive Offset), and ALF (Adaptive Loop Filter) to the reconstructedblock or reconstructed picture. The filter 180 may be called an adaptivein-loop filter. Reconstructed blocks which have passed through thefilter 180 can be stored in the reference picture buffer 190.

FIG. 2 is a block diagram illustrating the structure of an apparatus forvideo decoding according to one embodiment of the present invention. Asdescribed in detail with reference to FIG. 1, a method or apparatus formulti-view video encoding/decoding can be implemented by extension of aconventional method or apparatus for video encoding/decoding notproviding multi-view video, and the block diagram of FIG. 2 illustratesone embodiment of an apparatus for video decoding which can be a base ofan apparatus for multi-view video decoding.

With reference to FIG. 2, the apparatus for video decoding 200 comprisesan entropy decoding module 210, inverse quantization module 220, inversetransformation module 230, intra-prediction module 240, motioncompensation module 250, filter 260, and reference picture buffer 270.

The apparatus for video decoding 200 receives a bit stream output fromthe encoder, performs decoding in the intra or inter mode, and producesa restructured picture, namely reconstructed picture. In the case ofintra mode, the switch is switched to intra mode, while in the case ofinter mode, the switch is switched to inter mode. The apparatus forvideo decoding 200 obtains reconstructed residual blocks from thereceived bit streams, generates prediction blocks, and generatesrestructured blocks, namely reconstructed blocks by combining thereconstructed residual blocks and the prediction blocks.

The entropy decoding module 210 can perform entropy decoding of receivedbit streams according to the probability distribution thereof andgenerate symbols including symbols in the form of a quantizedcoefficient. An entropy decoding method receives binary sequences andgenerates symbols therefrom. The entropy decoding method is similar tothe entropy encoding method described above.

Quantized coefficients are inversely quantized by the inversequantization module 220 and inversely transformed by the inversetransformation module 230; as the quantized coefficients are inverselyquantized/transformed, reconstructed residual blocks can be generated.

In the case of intra mode, the intra-prediction module 240 performsspatial prediction by using pixel values of already decoded blocksaround a current block and generates prediction blocks. In the case ofinter mode, the motion compensation module 250 can generate predictionblocks by performing motion compensation by using motion vectors andreference pictures stored in the reference picture buffer 270.

Reconstructed residual blocks and prediction blocks are combined by theadder 255, and the added blocks may pass through the filter 260. Thefilter 260 can apply at least one or more of deblocking filter, SAO, andALF to the reconstructed block or reconstructed picture. The filter 260produces a restructured picture, namely reconstructed picture. Thereconstructed picture, being stored in the reference picture buffer 270,can be used for inter-prediction.

From among the entropy decoding module 210, inverse quantization module220, inverse transformation module 230, intra-prediction module 240,motion compensation module 250, filter 260, and reference picture buffer270 included in the apparatus for video decoding 200, constitutingelements related directly to decoding of video—for example, entropydecoding module 210, inverse quantization module 220, inversetransformation module 230, intra-prediction module 240, motioncompensation module 250, and filter 260—can be called a decoding unitseparately from other constituting elements.

Also, the apparatus for video decoding 200 can further comprise aparsing unit (not shown) which parses information related to encodedvideo included in bit streams. The parsing unit may include the entropydecoding module 210, or vice versa. The parsing unit can also beimplemented in the form of one constituting element of the decodingunit.

FIG. 3 is a conceptual drawing illustrating one embodiment of amulti-view based video coding structure to which the present inventioncan be applied.

In FIG. 3, View 1 represents a picture obtained by a camera positionedto the left of View 0, while View 2 represents a picture obtained by acamera positioned to the right of the View 0.

Also, the View 1 and View 2 are used for inter-view prediction by makinguse of the View 0 as a reference picture, and to this end, the View 0has to be encoded first before the View 1 and View 2.

Since the View 0 can be encoded independently of the other Views, it iscalled an independent view or a base view. On the other hand, the View 1and View 2 are called a dependent view since the View 1 and View 2 usethe View 0 as a reference picture.

An independent view can be encoded by using conventional two-dimensionalvideo codec. Dependent views, however, needs inter-view prediction andcan be encoded by using three-dimensional video codec including aninter-view prediction process.

In the case of encoding and decoding of a multi-view video in a bitstream, namely multi-view video coding, multiple views are stronglycorrelated with each other; thus, if prediction is performed on thebasis of the correlation, data redundancy can be removed, andperformance of video encoding can be improved. Hereinafter, predictionof a current layer, which is the prediction target, based on theinformation of other views can be called inter-view prediction. In whatfollows, multi-view video coding conveys the same meaning as multi-viewvideo encoding from the viewpoint of encoding, while the multi-viewvideo coding can be interpreted as multi-view video decoding from theviewpoint of decoding.

Multiple views may differ from each other at least in terms ofresolution, frame rate, and color format; at the time of inter-viewprediction, up-sampling or down-sampling can be carried out foradjustment of resolution.

The multi-view coding method as described above can remove inter-layerredundancy by using inter-view texture information, inter-view motioninformation, residual signals, and so on, thereby increasingencoding/decoding performance.

The conventional multi-view video encoding relies on a fixed base view.In case correlation between the base view and a dependent view becomeslow, however, encoding efficiency may be degraded.

Moreover, in case viewpoints in a live broadcasting program are changedaccording to the intention of a producer, to decode the video ofparticular views intended by the producer, the user has to decode morebit streams than the case of decoding base view pictures, and at thesame time, complexity of the decoder is increased.

Accordingly, the present invention introduces high-level syntax, withwhich position of a base view can be changed in units of GOP (Group OfPictures) in multi-view video encoding, and introduces new inter-layerdependency to change inter-layer dependency, namely inter-viewdependency in an efficient manner. Through the introduction of a newdesign as above, the present invention attempts to support an efficientencoding structure for multi-view video encoding.

The present invention provides a method for the user to decode the viewintended by a producer in a more cost-effective way than existingmethods in case the view is moved in a live broadcasting programaccording to the producer's intention and an apparatus using the method.

The following describe a decoding order and management of referencepictures in the conventional multi-view videos.

First, inter-layer reference pictures are managed by inter-layerdependency determined in a video parameter set (hereinafter, VPS)extension.

The decoding apparatus analyzes view_id[i] from the VPS extension,informing which layer corresponds to which view. The index i has a rangeas large as the total number of layers.

Next, the decoding apparatus analyzes num_direct_ref_layers[layerID]from the VPS extension, informing how many layers each layer references,and analyzes ref_layer_id[i] informing of which layers each layerreferences.

Through the above analysis, the decoding apparatus can figure outinter-layer dependency for each layer. In other words, it can be knownthat layers of which view are referenced by which layer.

Meanwhile, the layer_id of the base view is always set to ‘0’, and theview_id of the base view is also set to ‘0’.

In ref_layer_id[i], i can have a value ranging from ‘0’ to the valuespecified by num_direct_ref_layers which informs how many layers eachlayer references.

After analyzing a current view of each layer, the decoding apparatusparses and analyzes view_order_Idx[i] which represents theencoding/decoding order at the time of signaling being included in asequence parameter set (hereinafter, SPS). At this time, i can have avalue as large as the number of total views.

Once analysis about layers referenced by each layer is completed, thedecoding apparatus adds RefPicSetIvCurr to the reference picture list asshown in FIG. 4.

FIG. 4 illustrates the structure of a reference picture list formulti-view videos. With reference to FIG. 4, a reference picture listcan comprise a long-term reference picture set referenced by a currentpicture (RefPicSetLtCurr), long-term reference picture set notreferenced by the current picture (RefPicSetLtFoll), forward directionshort-term reference picture set referenced by the current picture(RefPicSetStCurrBefore), inverse direction short-term reference pictureset referenced by the current picture (RefPicSetStCurrAfter), short-termreference picture set not referenced by the current picture(RefPicSetStFoll), and inter-view reference picture set referenced bythe current picture (RefPicSetIvCurr).

The reference picture set (RefPicSetIvCurr) can include as manyreference layers as the number of num_direct_ref_layers signaled fromthe VPS extension.

The inter-view reference picture set (RefPicSetIvCurr) can include apicture having the same layer identifier (layer_id) as theref_layer_id[i] signaled from the VPS extension and having the same POC(Picture Order Count) as the current picture.

Those pictures comprising the inter-view reference picture set(RefPicSetIvCurr) are all marked as “used for long-term reference”.

In what follows, a method for moving a base view in multi-view videoencoding according to the present invention will be described.

FIG. 5 is a flow diagram illustrating a method for moving a base view inmulti-view video encoding according to the present invention.

First of all, the encoder and decoder analyze layer dependency S510.

Analyzing layer dependency indicates determining layer dependency forencoding or decoding, which can be regarded as a step of managingreference pictures to use pictures of other layers as reference picturesof a current layer during the process of encoding and decoding pictures.

Layer dependency can be analyzed through the VPS extension of video andalso through individual slices.

First, from the viewpoint of the encoder, at the time of encoding layerdependency by using the VPS extension, the encoder can encode layerdependency by using only an existing method or by using either of themethod for encoding the existing layer dependency and the method forpredefining sets consisting of the number of reference layers referencedby a current layer and layer_ids (scalable reference layer sets, SRLSs)and using a desired one from among the sets.

In case only the method for encoding an existing layer dependency isused, the encoder can encode layer dependency by using the existingmethod described with reference to FIG. 4.

Similarly, in case the existing method and SRLS are employed, theencoder can encode a flag informing of which method has been used (forexample, vps_srls_present_flag).

In case the existing method is used to encode layer dependency, theexisting syntax is encoded and transmitted. On the other hand, in casethe SRLS is employed, the syntax informing of how many layer dependencysets (SRLSs) to use (num_scalable_ref_layer_sets) is encoded andtransmitted, while the content of each set, namely reference picturescomprising the set are encoded in scalable_ref_layer_set( ) andtransmitted.

Meanwhile, in case the encoder performs encoding by using the existingmethod for representing layer dependency, the decoder can decode layerdependency according to the existing method without change of syntax.

Similarly, in case either of the existing encoding method and SRLS isused to encode layer dependency, the decoder can decode syntax elementsas shown in Table 1.

TABLE 1 vps_extension( ) { Descriptor  while( !byte_aligned( ) )  vps_extension_byte_alignment_reserved_one_bit u(1) ave_base_codec_flag u(1)  scalability_mask u(16)  for( i = 0; i<NumScalabilityTypes; i++ ) {   dimension_id_len_minus1[ i ] u(3)  } vps_nuh_layer_id_present_flag u(1)  // layer specific information  for(i = 1; i <= vps_max_layers_minus1; i++ ) {   // mapping of layer ID toscalability dimension IDs   if( vps_nuh_layer_id_present_flag )   layer_id_in_nuh[ i ] u(6)   for ( j = 0; j <= num_dimensions_minus1;j++ )    dimension_id[ i ][ j ] u(v)  }  for( i = 1; i <=vps_max_layers_minus1; i++ )   profile_tier_level(1,vps_max_sub_layers_minus1 )  vps_srls_present_flag u(1) if(vps_srls_present_flag) {   num_scalable_ref_layer_sets ue(v)   for(i = 0; i < num_scalable_ref_layer_set; i++)   scalable_ref_layer_set(i) }  else {    for( i = 1; i <= vps_max_layers_minus1; i++ ) {    //layer dependency    num_direct_ref_layer[ i ] u(6)    for( j = 0; j <num_direct_ref_layers[ i ]; j++ )     ref_layer_id[ i ][ j ] u(6)  } } }

With reference to Table 1, in case vps_srls_present_flag is 0, syntax isdecoded according to the existing method; in case vps_srls_present_flagis 1, layer dependency is decoded according to the SRLS method.

num_scalable_ref_layer_set represents the number of layer dependencysets (SRLSs).

scalable_ref_layer_set( ) represents the structure of each layerdependency set.

In case vps_srls_present_flag is 0, the decoder decodes syntax accordingto the existing method, while in case vps_srls_present_flag is 1, thedecoder decodes layer dependency according to the SRLS method. Thedecoder analyzes num_scalable_ref_layer_set and determines the number oflayer dependency sets (SRLSs); and figures out the structure of eachlayer dependency set (SRLS) through scalable_ref_layer_set( ).

FIG. 6 illustrates a scalable reference layer set according to thepresent invention.

With reference to FIG. 6, M scalable reference layer sets can bedefined, and each scalable reference layer set can comprise a pluralityof layer IDs.

The scalable reference layer set 1 comprises A layer IDs, scalablereference layer set 2 comprises B layer IDs, and scalable referencelayer set M comprises K layer IDs.

The layer IDs constituting a scalable reference layer set can bespecified by a difference between current layer ID and reference layerID.

To encode scalable_ref_layer_set( ) the encoder can encode a syntaxelement informing of the number of reference layers (for example,num_ref_layer), syntax element representing signs of the differences oflayer_ids between the current layer and reference layers calculated asmany times as the number of reference layers (for example,delta_layer_id_sign), and syntax element representing absolute value ofthe difference; and transmit the encoded syntax elements.

Table 2 is a syntax table of scalable_ref_layer_set( ) understood by thedecoder.

TABLE 2 scalable_ref_layer_set ( idxRps ) { Descriptor  if( idxRps ==num_scalable_ref_layer_set )   delta_srls_idx_minus1 ue(v) num_ref_layer ue(v)  for( i = 0; i < num_ref_layer; i++ ) {  delta_layer_id_sign u(1)   abs_delta_layer_id_minus1[ i ] ue(v)  } }

With reference to Table 2, num_ref_layer represents the number ofreference layers.

The value of delta_srls_idx_minus 1 added by 1 specifies a scalablereference layer set and represents a difference from the previousscalable reference layer set.

delta_layer_id_sign represents a sign of the difference between acurrent layer and reference layer.

abs_delta_layer_id[i] represents an absolute value of the differencebetween the current layer and reference layer.

The decoder finds out the number of reference layers constructing areference layer set through num_ref_layer and obtains differences oflayer_ids between the current layer and reference layers throughdelta_layer_id_sign and abs_delta_layer_id[i] signaled as many times asthe number of reference layers.

According to another embodiment of the present invention, layerdependency can be analyzed through individual slices.

In case layer dependency is signaled and determined through a slice, theencoder and decoder may use an existing method such as the oneusing/changing layer dependency in a current slice, where the layerdependency is analyzed in a VPS extension or a method for using/changinglayer dependency in the current slice, where the layer dependency in aVPS extension is represented in the form of an SRLS.

First, in case layer dependency is used and changed in a current slice,where the layer dependency in the VPS extension is analyzed according tothe existing method, the encoder can determine whether not to use layerdependency for the current slice or whether to apply new layerdependency to the current slice; and can perform encoding of suchinformation for each slice by using a flag (for example,slice_srls_present_flag).

In case a method for applying new layer dependency to a current slice isused, the encoder can encode the number of layers that can be referencedby the current slice into syntax information (for example,num_scalable_ref_layer) and transmits the syntax information; and encodeas many reference layers as the number of layers that can be referencedinto syntax information (for example, scalable_ref_layer[i]) andtransmits the syntax information. The new layer dependency can beapplied within the range of inter-layer dependency established in theVPS extension.

Meanwhile a syntax table as shown in Table 3 can be decoded if layerdependency is used and changed in a current slice, where the layerdependency is analyzed in a VPS extension according to the existingmethod.

TABLE 3 slice_segment_header( ) { Descriptor   ...    if( nuh_layer_id >0 ) {    slice_srls_present_flag u(1)    if( slice_srls_present_flag ) {     num_scalable_ref_layer u(v)      for( i = 0; i <NumActiveRefLayerPics; i++ )       Scalable_ref_layer[ i ] u(v)    }   } ...  byte_alignment( ) }

With reference to Table 3, slice_srls_present_flag is a flag indicatingwhether not to apply layer dependency to a current slice or whether toapply new layer dependency to the current slice.

num_scalable_ref_layer represents the number of layers referenced by acurrent slice. scalable_ref_layer[i] represents layer_id of a layer tobe referenced or information meant for identifying layers to bereferenced.

TABLE 4 if( nuh_layer_id > 0 && !all_ref_layers_active_flag &&    NumDirectRefLayers[ nuh_layer_id ] > 0 ) {  slice_srls_present_flagu(1)  if( inter_layer_pred_enabled_flag && NumDirectRefLayers[nuh_layer_id ] > 1) {    num_scalable_ref_layer u(v)   if(NumActiveRefLayerPics != NumDirectRefLayers[ nuh_layer_id ] )    for( i= 0; i < NumActiveRefLayerPics, i++ )     scalable_ref_layer[i] u(v)  }}

Table 4 is an embodiment of the syntax of Table 3. With reference toTable 4, slice_srls_present_flag is a flag indicating whether not toapply layer dependency to a current slice or whether to apply new layerdependency to the current slice. For example, if slice_srls_present_flagis 1, it indicates that new layer dependency is applied to the currentslice, whereas, if slice_srls_present_flag is 0, it indicates that layerdependency is not applied to the current slice. Ifslice_srls_present_flag is 0, num_scalable_ref_layer is set to 0, andthe current slice does not use an inter-layer reference.

slice_srls_present_flag can be analyzed when the following conditionsare all met: a layer to be encoded currently is not the base layer;inter-layer dependency established in the VPS extension is not used atall; and with inter-layer dependency established in the VPS extension,the number of layers that can be referenced by the current layer is oneor more.

num_scalable_ref_layer represents the number of layers to be referencedby a current slice. num_scalable_ref_layer can be analyzed whenslice_srls_present_flag is 1, and the number of layers that can bereferenced from inter-layer dependency established in the VPS extensionis two or more. num_scalable_ref_layer can have a value larger than 1and smaller than the number of layers that can be referenced by acurrent layer from inter-layer dependency established in the VPSextension. In case the number of layers that can be referenced by thecurrent layer from inter-layer dependency established in the VPSextension is 1, num_scalable_ref_layer is set to 1 without analyzingthereof.

scalable_ref_layer[i] represents layer_id of a layer to be referenced orinformation with which a layer to be referenced can be identified. Ifthe number of layers that can be referenced by a current layer frominter-layer dependency in the VPS extension is the same asnum_scalable_ref_layer, scalable_ref_layer[i] is set as information withwhich a reference layer, specified by inter-layer dependency establishedin the VPS extension without analyzing scalable_ref_layer[i].

The decoder analyzes slice_srls_present_flag, and Ifslice_srls_present_flag is 1, new layer dependency is established in acurrent slice whereas, if slice_srls_present_flag is 0, layer dependencyis not defined.

In case new layer dependency signaled from a current slice is used, thedecoder can find out the number of layers that can be referenced by thecurrent slice by decoding num_scalable_ref_layer, and obtain layer_id ofa layer to be referenced or information with which a layer to bereferenced can be identified by decoding scalable_ref_layer[i] as manytimes as the number of layers to be referenced by the current slice.

Meanwhile, one example of syntax illustrated in Table 5 can be signaledin case a method for using/changing layer dependency in a current sliceis employed by using the layer dependency in the VPS extensionrepresented in the form of an SRLS.

TABLE 5 slice_segment_header( ) { Descriptor          ....  if(!IdrPicFlag ) {   pic_order_cnt_lsb u(v)  short_term_ref_pic_set_sps_flag u(1)   if(!short_term_ref_pic_set_sps_flag )    short_term_ref_pic_set(num_short_term_ref_pic_sets )   else    short_term_ref_pic_set_idx u(v)  scalable_ref_layer_set_vps_flag u(1)   if(vps_srls_present_flag) {  if(!scalable_ref_layer_set_vps_flag)    scalable_ref_layer_set (num_scalable_ref_layer_set)   else    scalable_ref_layer_set_Idx u(v)  }   else {    if (!scalable_ref_layer_set_vps_flag) {    num_scalable_ref_layer u(3)     for( i = 0 ;i<num_scalable_ref_layer ; i++)      Scalable_ref_layer[i] u(6)    }   }         ....  }          .... }

The decoder encodes the flag, scalable_ref_layer_set_vps_flag andsignals whether to use layer dependency established in the VPS extensionor whether to introduce new layer dependency to the current slice.

At this time, the encoder can decide according to the flag(vps_srls_present_flag) signaled from the VPS extension whether a methodfor encoding layer dependency using an SRLS has been used or whether anexisting method for encoding layer dependency has been used.

The encoder can encode new layer dependency in a current slice accordingto scalable_ref_layer_set_vps_flag or can encode syntax information(scalable_ref_layer_set_Idx) informing of which layer dependency set touse from among layer dependency sets established in the VPS extension.

If an existing method for encoding layer dependency has been used in theVPS extension, layer dependency to be used in a current slice accordingto scalable_ref_layer_set_vps_flag can be defined in the same way as themethod to be described later (for example, a method for fixing thelayer_id of the base view to ‘0’).

Again referring to FIG. 5, after layer dependency is analyzed, theencoder and decoder analyze layer IDs and view order according to themovement of a base view S520.

A method for analyzing layer IDs according to the movement of a baseview can include a method for fixing the layer_id of the base view to‘0’ and a method for changing the layer_id of the base view according tothe base view.

First, a method for fixing the layer_id of the base view to ‘0’ will bedescribed. According to the present invention, to fix the layer_id ofthe base view to ‘0’, the encoder and decoder can use an existing methodfor representing layer dependency or a method for representing layerdependency by using an SRLS.

In case an existing method for representing layer dependency is used,the encoder can encode syntax information meant for movement of the baseview by preparing base_view_change( ) part in an SEI message.

To define layer dependency again in accordance with movement of the baseview, the encoder can encode active_vps_id and change layer dependencyon the basis of the information of a target VPS extension.

And by encoding active_sps_id, the encoder can change the view order onthe basis of a target sequence parameter set.

If the view order is changed on the basis of the sequence parameter set,the total number of layers can be known through the VPS extension, andsyntax elements (layer_id[i]) can be encoded newly for the whole layersand layer IDs can be reconfigured.

Also, a syntax element for each view ID (view_id[i]) can be encoded, andlayer ID and view ID can be reconfigured for each layer.

Next, the encoder can change layer dependency by using a syntax elementview_dependency_change( ).

Since the encoder can know the total number of views through an SPS(Sequence Parameter Set), the encoder can encode as many syntax elements(view_order_Idx[i]) as the total number of views and reconfigure theview order.

Meanwhile, in case an existing method for representing layer dependencyis used, the decoder can obtain information meant for moving a base viewby parsing and analyzing base_view_change( ) signaled being included inan SEI message.

First, to activate a parameter set meant for moving a base view, thedecoder decodes a video parameter set; and active_vps_id andactive_sps_id meant for activation of the sequence parameter set. Basedon the information included in the decoded active_vps_id andactive_sps_id, information meant for moving the base view is determined.

Next, the decoder analyzes layer_id[i] and view_id[i] by using as manycorresponding IDs as the number of total layers and assigns new layer_idand view_id to each layer.

Since the layer_id of the base view is always set to ‘0’, the newlayer_id and view_id need to represent the change of the base view.

Next, the decoder analyzes a syntax element view_dependency_change( )and decides change of layer dependency.

The decoder analyzes view_order_Idx[i] by using as many correspondingIDs as the total number of views and reconfigures a decoding order ofthe views.

Table 6 is a syntax table used for a method for fixing layer_id of thebase view to ‘0’ by using the existing representation of layerdependency.

TABLE 6 base_view_change( payloadSize ) { Descriptor  active_vps_id u(4) active_sps_id ue(v)  // layer specific information  for( i = 0; i <=vps_max_layers_minus1; i++ ) {   layer_id[i] u(6)   view_id[i] u(v)  } view_dependency_change( )  for( i = 0; i <= num_views_minus1; i++ )  view_order_idx[i] se(v) }

According to another embodiment of the present invention, the layer_idof the base view can be fixed to ‘0’ by using representation of layerdependency based on an SRLS.

Table 7 shows a syntax structure signaled to this purpose.

TABLE 7 base_view_change( payloadSize ) { Descriptor  active_vps_id u(4) active_sps_id ue(v)  // layer specific information  for( i = 0; i <=vps_max_layers_minus1; i++ ) {   layer_id[i] u(6)   view_id[i] u(v)  } for( i = 0; i <= num_views_minus1; i++ )   view_order_idx[i] se(v) }

The encoder can encode a syntax element meant for moving the base viewby incorporating the base_view_change( ) part into the SEI message.

The encoder, to define layer dependency again in accordance with themovement of the base view, encodes active_vps_id and changes layerdependency on the basis of the information of a target VPS extension.

And the encoder encodes active_sps_id and changes the view order on thebasis of the target sequence parameter set.

Next, the encoder checks the total number of layers from the activatedVPS extension; and encodes a syntax element (layer_id[i]) meant foridentifying the whole layer and reconfigures the layer ID again for eachindividual layer.

And the encoder can reconfigure the layer ID and view ID for each layerby encoding the syntax element (view_id[i]) meant for view ID.

Afterwards, the encoder can reconfigure the view order by encoding asmany syntax elements (view_order_Idx[i]) as the total number of viewsdetermined from the activated SPS.

In response to the reconfigured view order, the decoder can obtaininformation meant for moving the base view by analyzingbase_view_change( ) signaled being included in the SEI message.

First of all, the decoder decodes active_vps_id and active_sps_id meantfor activation of a video parameter set and sequence parameter set toactivate a parameter set intended for moving the base view. Based on theinformation included in the decoded active_vps_id and active_sps_id,information for movement of the base view is determined.

Next, the decoder analyzes layer_id[i] and view_id[i] by using as manycorresponding IDs as the total number of layers and assigns new layerIDs and view IDs to the respective layers.

Since the layer_id of the base view is always set to ‘0’, the newlayer_id and view_id need to represent the change of the base view.

Next, the decoder, by analyzing view_order_Idx[i] by using as manycorresponding IDs as the total number of views, can reconfigure adecoding order of the views.

In what follows, among the methods for analyzing layer IDs in accordancewith movement of a base view, described will be a method for changingthe layer ID of the base view according to the view of the base view.Two different embodiments can be applied to implement the method forchanging layer ID of the base view according to the view of the baseview.

To change the layer ID of the base view according to the view of thebase view, the encoder and decoder can use the existing representationfor layer dependency or representation of layer dependency using anSRLS.

Table 8 shows syntax elements signaled to use the existingrepresentation for layer dependency.

TABLE 8 base_view_change( payloadSize ) { Descriptor  active_vps_id u(4) active_sps_id ue(v)  base_layer_id u(6)  for( i = 0; i <=vps_max_layers_minus1; i++ ) {   if(layer_id[i] != base_layer_id ) {  for( j = 0; j < num_direct_ref_layers[ i ]; j++ )   ref_layer_disable_flag[ i ][ j ] u(1)   }  }  for(i = 0; i <=num_views_minus1; i++ )   view_order_idx[i] se(v) temporary_ref_layer_id u(6) }

In what follows, a process for the encoder to encode syntax elementswill be described with reference to Table 8.

The encoder can encode syntax elements meant for moving the base view byincorporating the base_view_change( ) into the SEI message.

To define layer dependency again in accordance with movement of the baseview, the encoder encodes active_vps_id and changes layer dependency onthe basis of the information of a target VPS extension.

And by encoding active_sps_id, the encoder changes the view order on thebasis of a target sequence parameter set.

The encoder encodes the syntax element base_layer_id to signal thelayer_id of the changed base layer.

Afterwards, the encoder reconfigures layer dependency for each of theremaining layers except for those with a layer ID encoded asbase_layer_id among the whole layers. To this end, the encoder encodethe syntax element ref_layer_disable_flag[i][j] meant for reconfiguringlayer dependency.

Next, the encoder determines the total number of layers from theactivated VPS extension and encodes as many syntax elements(view_order_Idx[i]) related to the view order as the total number ofviews and reconfigures the view order.

Since the layer ID of the base layer has been changed, the changed baselayer should be able to reference the previous base layer for apredetermined time period (for example, until dependency on the previousGOP is gone). To this purpose, the encoder encodes a syntax element(temporary_ref_layer_id) representing the layer ID of a layer that canbe referenced by the base layer for a predetermined time period.

Meanwhile, syntax elements as shown in Table 8 are signaled, the decodercan change the layer ID of the base view by parsing syntax elements asshown below.

The decoder can obtain information meant for moving the base view byanalyzing base_view_change( ) signaled being included in the SEImessage.

First of all, the decoder decodes active_vps_id and active_sps_id meantfor activation of a video parameter set and sequence parameter set toactivate a parameter set intended for moving the base view. Based on theinformation included in the decoded active_vps_id and active_sps_id,information for movement of the base view is determined.

Next, the decoder determines the base layer by parsing base_layer_id.And to determine layer dependency of the remaining layers except for themoved base layer among the whole layers, the decoder parsesref_layer_disable_flag[i][j] representing layer dependency.

Next, the decoder determines the decoding order of views by parsingview_order_idx[i] representing the decoding order of the whole views.

And the decoder can determine a reference layer of the base layer byanalyzing temporary_ref_layer_id which can be referenced by the baselayer for a predetermined time period.

According to a yet another embodiment of the present invention, layer_idof the base view can be changed according to the view of the base viewby using representation of layer dependency based on an SRLS.

Table 9 shows syntax elements signaled to use representation of layerdependency based on an SRLS.

TABLE 9 base_view_change( payloadSize ) { Descriptor  active_vps_id u(4) active_sps_id ue(v)  base_layer_id u(6)  for(i = 0; i <=num_views_minus1; i++ )   view_order_idx[i] se(v) temporary_ref_layer_id u(6) }

In what follows, a process for the encoder to encode syntax elementswill be described with reference to Table 9.

The encoder can encode syntax elements meant for moving the base view byincorporating the base_view_change( ) into the SEI message.

To define layer dependency again in accordance with movement of the baseview, the encoder encodes active_vps_id and changes layer dependency onthe basis of the information of a target VPS extension.

And by encoding active_sps_id, the encoder changes the view order on thebasis of a target sequence parameter set.

The encoder encodes the syntax element base_layer_id to signal thelayer_id of the changed base layer.

Next, the encoder determines the total number of layers from theactivated VPS extension and encodes as many syntax elements(view_order_Idx[i]) related to the view order as the total number ofviews and reconfigures the view order.

Since the layer ID of the base layer has been changed, the changed baselayer should be able to reference the previous base layer for apredetermined time period (for example, until dependency on the previousGOP is gone). To this purpose, the encoder encodes a syntax element(temporary_ref_layer_id) representing the layer ID of a layer that canbe referenced by the base layer for a predetermined time period.

Meanwhile, syntax elements as shown in Table 9 are signaled, the decodercan change the layer ID of the base view by parsing syntax elements asshown below.

The decoder can obtain information meant for moving the base view byanalyzing base_view_change( ) signaled being included in the SEImessage.

First of all, the decoder decodes active_vps_id and active_sps_id meantfor activation of a video parameter set and sequence parameter set toactivate a parameter set intended for moving the base view. Based on theinformation included in the decoded active_vps_id and active_sps_id,information for movement of the base view is determined.

Next, the decoder determines the base layer by parsing base_layer_id.

Next, the decoder determines the decoding order of views by parsingview_order_idx[i] representing the decoding order of the whole views.

And the decoder can determine a reference layer of the base layer byanalyzing temporary_ref_layer_id which can be referenced by the baselayer for a predetermined time period.

Afterwards, the encoder and decoder can refer to reference pictures byconstructing a reference picture list S530.

Dependency between inter-layer reference pictures can be determined frominter-layer dependency information specified in the VPS extension orslice header.

The method specified in the step of S510 can analyze layer dependency byusing the VPS extension and slice header.

After each layer analyzes layers to be referenced, the encoder anddecoder can add ScalableRefLayerSet as shown in FIG. 7 to a referencepicture list at the time of constructing thereof.

FIG. 7 illustrates a process of deriving a reference picture setaccording to the present invention.

As shown in FIG. 7, to derive a reference picture set included in acurrent layer before decoding a current picture, five lists consistingof POC (Picture Order Count) values and one list used for inter-layerprediction can be constructed.

The five lists are PocLtCurr, PocLtFoll, PocStCurrBefore,PocStCurrAfter, and PocStFoll. The individual lists include as manyconstituting elements (namely, POC values) as specified byNumPocStCurrBefore, NumPocStCurrAfter, NumPocStFoll, NumPocLtCurr, andNumPocLtFoll.

PocLtCurr is a list used by a current picture and includes POC of along-term reference picture, which is larger than the POC of the currentpicture; PocLtFoll is a list including the POC of a long-term referencepicture not used by the current picture. PocLtCurr and PocLtFoll areused for constructing a long-term reference picture set.

PocStCurrBefore is a list used by a current picture and includes POC ofa short-term reference picture, which is smaller than the POC of thecurrent picture. PocStCurrAfter is a list used by the current pictureand includes POC of a short-term reference picture, which is larger thanthe POC of the current picture. PocStFoll is a list including POC of ashort-term reference picture not used by the current picture.PocStCurrBefore, PocStCurrAfter, and PocStFoll are used to construct ashort-term reference picture set.

The encoder and decoder can generate a list (LayerIDScalableCurr)consisting of layer IDs for reference layer candidates comprising otherlayers supporting scalability. LayerIDScalableCurr is used to constructa scalable reference layer set, namely inter-layer reference layer setor inter-view reference layer set.

The encoder or decoder can derive five reference picture sets from thefive POC lists by checking the decoded picture buffer (DPB) which storesdecoded pictures with respect to a current layer and construct areference layer set (ScalableRefLayerSet) to be used for inter-viewprediction from the LayerIDScalableCurr by checking the DPBs of otherlayers.

The scalable reference layer set (ScalableRefLayerSet) can beconstructed by using as many reference layers as the number of referencelayers signaled from the VPS extension or slice header.

In the scalable reference layer set (ScalableRefLayerSet), an picturehaving the same POC as the current picture can be designated by areference layer having dependency signaled from the VPS extension orslice header.

The pictures constituting the scalable reference layer set(ScalableRefLayerSet) are all indicated as being used for long-termreference.

The encoder and decoder can derive a reference picture list on the basisof the reference picture set and inter-layer reference layer set; andperform prediction of pictures by using the reference picture list.

As described above, in case the base view moves to another view in amulti-view video, for more efficient encoding and decoding, the presentinvention determines layer dependency by using layer dependencyinformation that can be signaled from a video parameter set or slice;and provides a method for determining a view order in accordance withmovement of the base view and an apparatus using the method.

The present invention provides a method for the user to decode the viewintended by a producer in a more cost-effective way than existingmethods in case the view is moved in a live broadcasting programaccording to the producer's intention and an apparatus using the method.

In the embodiments described above, although methods have been describedthrough a series of steps or a block diagram, the present invention isnot limited to the order of steps and some step can be carried out in adifferent order and as a different step from what has been describedabove, or some step can be carried out simultaneously with other steps.Also, it should be understood by those skilled in the art that thosesteps described in the flow diagram are not exclusive; other steps canbe incorporated to those steps; or one or more steps of the flow diagramcan be removed without affecting the technical scope of the presentinvention.

The embodiments above include examples of various aspects. Though it isnot possible to describe all of the possible combinations to illustratevarious aspects, it should be understood by those skilled in the artthat other combinations are possible. Therefore, it should be understoodthat the present invention includes all of the other substitutions,modifications, and changes belonging to the technical scope defined byappended claims.

What is claimed is:
 1. A method for video encoding that supportsmulti-layer videos, the method comprising: encoding a first layerdependency on a current layer into a video parameter set (VPS)extension; encoding a second layer dependency on a current slice in thecurrent layer into a slice unit, wherein the encoding the second layerdependency on the current slice comprises determining, for the currentslice, whether to use the first layer dependency to be encoded into theVPS extension or the second layer dependency to be encoded into theslice unit; constructing a reference picture list for the current slicebased on either one or both of the first layer dependency on the currentlayer and the second layer dependency on the current slice; andpredicting a current block included in the current slice by using atleast one reference picture to be included in the reference picturelist, wherein the reference picture list comprises a temporal referencepicture belonging to a same layer as the current slice and aninter-layer reference picture belonging to a different layer from thecurrent slice, and wherein the inter-layer reference picture has a samepicture order count (POC) value as the current slice.
 2. The method ofclaim 1, wherein the encoding the first layer dependency on the currentlayer comprises determining layer dependency set informationrepresenting a structure of a layer dependency of the current layer. 3.The method of claim 1, wherein the encoding the second layer dependencyon the current slice comprises: in response to determining that thesecond layer dependency to be encoded into the slice unit is used forthe current slice, determining one or more inter-layer referencepictures for the current slice; encoding the number of reference layersreferenced by the current slice based on the one or more determinedinter-layer reference pictures; and encoding identifying information ofa reference layer referenced by the current slice as many times as thenumber of reference layers referenced by the current slice.
 4. Themethod of claim 2, wherein the layer dependency set informationcomprises information about the number of reference layers referenced bythe current layer and layer ID information specifying a layer ID of areference layer.
 5. A non-transitory computer-readable medium storing abitstream that is generated by a method for video encoding that supportsmulti-layer videos, the method comprising: encoding a first layerdependency on a current layer into a video parameter set (VPS)extension; encoding a second layer dependency on a current slice in thecurrent layer into a slice unit, wherein the encoding the second layerdependency on the current slice comprises determining, for the currentslice, whether to use the first layer dependency to be encoded into theVPS extension or the second layer dependency to be encoded into theslice unit; constructing a reference picture list for the current slicebased on either one or both of the first layer dependency on the currentlayer and the second layer dependency on the current slice; andpredicting a current block included in the current slice by using atleast one reference picture to be included in the reference picturelist, wherein the reference picture list comprises a temporal referencepicture belonging to a same layer as the current slice and aninter-layer reference picture belonging to a different layer from thecurrent slice, and wherein the inter-layer reference picture has a samepicture order count (POC) value as the current slice.